-- GENERATED SPELL FOR [Iron Rune-Shaper] --


function spell0_26270(pUnit, Event) --@Boulder Impact,Self--
pUnit:FullCastSpellOnTarget(47007,pUnit)
pUnit:RegisterEvent('Sorts_26270', 1303, 1)
end

function Sorts_26270(pUnit, Event)
local choix_sorts_26270 = math.random(0, 0)
if choix_sorts_26270 == 0 then
pUnit:RegisterEvent('spell0_26270', 1, 1)
end
end

function mob26270_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_26270', math.random(1500, 3000), 1)
end

function mob26270_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26270_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26270_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(26270, 1, 'mob26270_Action')
RegisterUnitEvent(26270, 2, 'mob26270_Leave')
RegisterUnitEvent(26270, 3, 'mob26270_Kill')
RegisterUnitEvent(26270, 4, 'mob26270_Die')
